﻿Ext.extend(NExt.form.DateField, Ext.form.DateField, {
    getModel: function() {
        var model = this.getValue();
        return model;
    },

    setModel: function(model) {
        if (Ext.isDate(model)) {
            this.setValue(model);
        }
    }
});